/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package Interface;

import Server.DTO.SavingBook_DTO;
import java.rmi.Remote;
import java.rmi.RemoteException;
import java.util.ArrayList;

/**
 *
 * @author 10520_000
 */
public interface IRemoteSavingBook extends Remote{
    public int Insert(SavingBook_DTO info) throws RemoteException;
    
    public int Update(SavingBook_DTO info) throws RemoteException;
    
    public int Delete(SavingBook_DTO info) throws RemoteException;
    
    public ArrayList FindAll() throws RemoteException;
    
    //dem so luong so tiet kiem cua khach hang
    public int CountSavingBook(String str_CustomerID) throws RemoteException;
    
    public SavingBook_DTO FindByBookID(String DetailID) throws RemoteException;
    
    public ArrayList GetSavingBooks(String str_fullname) throws RemoteException;
    
    public String GetBookID(String str_FullName, String str_IDNumber, String str_TypeName, int Term) throws RemoteException;
}
